﻿@model kxcxw.Data.Entities.SysUserInfo
@{
    ViewBag.Title = "个人设置";
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
    ViewBag.LeftMenuName = "_LeftForMyInfoList";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="registercontent">
    @using (Html.BeginForm())
    {
        <fieldset style="border: 0px;">
            @Html.HiddenFor(model => model.UserID)
            @Html.HiddenFor(model => model.UserName)
            @Html.HiddenFor(model => model.UserPwd)
            @Html.Hidden("ConfirmPassword", Model.UserPwd)
            @Html.HiddenFor(model => model.Email)
            @Html.HiddenFor(model => model.RegistrDate)
            @Html.HiddenFor(model => model.UserType)
            @Html.HiddenFor(model => model.VerificationCode)
            @Html.HiddenFor(model => model.UserStatus)
            @Html.HiddenFor(model => model.LastLoginDate)
            @Html.HiddenFor(model => model.LastLoginIp)
            <div class="field" style="height: 30px">@Html.ValidationSummary(true, "个人信息修改失败!请更正错误，重试!")</div>
            <div class="field">
                <div class="editor-label">
                    用户名：
                </div>
                <div class="editor-field">
                    @Model.UserName
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    用户类型：
                </div>
                <div class="editor-field">
                    @ViewData["UserType"]
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    邮 箱：
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m => m.Email)
                    @Html.ValidationMessageFor(m => m.Email)
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    昵称：
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m => m.NickName)
                    @Html.ValidationMessageFor(m => m.NickName)
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    联系电话：
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m => m.Tel)
                    @Html.ValidationMessageFor(m => m.Tel)
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    QQ/MSN：
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m => m.IM)
                    @Html.ValidationMessageFor(m => m.IM)
                </div>
            </div>
            <div style="float: left; margin-left: 77px; display: inline;">
                <input class="btn_mid" type="submit" value="保存设置" />
            </div>
        </fieldset>
    }
</div>
